var assert = require('assert');
var should = require('should');
var activityService = require('../../app/services/activityService');
var actType = require('../../app/consts/activityType.js');
var config = require('../config');
var playerManager = require('../../app/libs/playerManager.js');

suite('测试activityService', function () {
    suite('pushActivityStatus', function () {
        var role_id = config.role_id;
        var player_manager = new playerManager(role_id);
        // test('推送活动状态信息,SEVEN_LOGIN', function (done) {
        //     activityService.push(role_id, actType.CHECK, player_manager);
        //     done();
        // });
        // test('推送活动状态信息,OPEN', function (done) {
        //     activityService.push(role_id, actType.OPEN, player_manager, function (err) {
        //         done();
        //     });
        // });
        test('推送活动状态信息,CHECK', function (done) {
            activityService.push(role_id, actType.COPY_STAR, player_manager, function (err) {
                done();
            });
        });
    });
});
